<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>菜单管理</title> <#include "/WEB-INF/content/module-index.html">
<script type="text/javascript">
function statusFormatter(value,rowData,rowIndex){
	if(value==1){
		 return "登录";
	}else
		if(value==1){
			return "退出";
		}else
			if(value==2){
				return "修改密码";
			}else
				if(value==3){
					return "新增操作";
				}else
					if(value==4){
						return "更新操作";
					}
	}
</script>
</head>
<body>
<body class="easyui-layout">
	<div region="center" style="padding: 5px; background: #eee;">
		<div id="toolbar">
			<@auth code="sys:function:*:new"><a href="#" class="easyui-linkbutton"
				plain="true" iconCls="icon-add" style="border: 1px solid #ccc"
				onclick="javascript:add()">新增</a> </@auth> <@auth
			code="sys:function:*:*:edit"> <a href="#" class="easyui-linkbutton"
				plain="true" iconCls="icon-edit" style="border: 1px solid #ccc"
				onclick="javascript:edit()">编辑</a></@auth> <@auth
			code="sys:function:*:*:delete"> <a href="#" class="easyui-linkbutton"
				plain="true" iconCls="icon-remove" style="border: 1px solid #ccc"
				onclick="javascript:del()">删除</a></@auth> <@auth
			code="sys:function:*:*:destroy"> <a href="#" class="easyui-linkbutton"
				plain="true" iconCls="icon-remove" style="border: 1px solid #ccc"
				onclick="javascript:destroy()">销毁</a></@auth>
		</div>
		<table id="grid" class="easyui-datagrid" url="query"
			idField="code" rownumbers="true" striped="true" fitColumns="true"
			fit="true" pagination="true" singleSelect="true" toolbar="#toolbar">
			<thead>
				<tr>
					<th field="creator" width="10">管理员</th>
					<th field="logtype" width="10" align='center'
						formatter="statusFormatter">日志类型</th>
					<th field="createtime" width="10" align='center'>创建时间</th>
					<th field="logcontent" width="70">日志内容</th>
				</tr>
			</thead>
		</table>
	</div>
</body>
</body>

</html>